<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Document</title>
</head>
<body>
<script>
    const ws = new WebSocket('wss://swoole.yuxibs.com/wss');
    ws.onopen = () => ws.send('Hello Laravel Octane!');
    ws.onmessage = (e) => console.log('服务器响应:', e.data);
</script>
</body>
</html>
